﻿namespace Gmantis.Controls.DataGrid
{
    internal class DataGridViewColumnsCollection : DataGridViewCollection<DataGridColumn, ViewColumn>
    {
        public DataGridViewColumnsCollection(DataGridView view)
            : base(view)
        {
        }

        public override ViewColumn OnCreatingItem(DataGridColumn column)
        {
            return new ViewColumn(base.View, column);
        }
    }
}
